package com.mall.sms.exception;


import com.mall.model.domain.vo.ErrorResult;

public class BusinessException extends RuntimeException{
    private ErrorResult errorResult;

    public BusinessException(ErrorResult errorResult){
        super(errorResult.getErrMessage());
        this.errorResult = errorResult;
    }
}
